* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-color: #f7941d #0b2559;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0b2559;
}

::-webkit-scrollbar-thumb {
    background: #f7941d;
    border-radius: 999px;
    border: 2px solid #0b2559;
}

::-webkit-scrollbar-thumb:hover {
    background: #f15a24;
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: #111827;
    background: #06162d;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;

    background:
        linear-gradient(90deg, rgba(5, 20, 45, 0.92), rgba(8, 20, 58, 0.72), rgba(65, 5, 55, 0.88)),
        radial-gradient(circle at top left, rgba(0, 174, 239, 0.35), transparent 32%),
        radial-gradient(circle at bottom right, rgba(236, 0, 140, 0.36), transparent 38%),
        linear-gradient(135deg, #06162d 0%, #092d5f 45%, #150b38 70%, #4a063f 100%);

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.site-wrapper {
    width: 100%;
    min-height: 100vh;
}

.container {
    width: min(1360px, calc(100% - 32px));
    margin: 0 auto;
}

/* HEADER */

.site-header {
    /* background: #ffffff; */
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(50px);
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-logo {
    border-radius: 10px;
    display: flex;
    font-weight: 700;
    color: #374151;
    flex-shrink: 0;
}

.brand-logo img {
    width: 55px;
    height: 55px;
}

.brand-text {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-bubble {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-btn {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid #04cdff;
    color: #ffffff;
    font-weight: 800;
    font-size: 13px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    white-space: nowrap;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    isolation: isolate;

    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.login-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #2563eb, #1d4ed8);
    border-radius: inherit;

    transform: translateX(-101%);
    transition: transform 0.35s ease;
    z-index: -1;
}

.login-btn:hover {
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
    transform: translateY(-2px);
}

.login-btn:hover::before {
    transform: translateX(0);
}

.login-btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.22);
}

.login-btn:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.25);
    outline-offset: 3px;
}

/* HERO */
.hero-section.video-hero {
    position: relative;
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #07182f;
    padding: 96px 0;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px);
    transform: scale(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(7, 24, 47, 0.9) 0%,
            rgba(8, 43, 85, 0.72) 45%,
            rgba(22, 11, 53, 0.42) 100%),
        linear-gradient(0deg,
            rgba(7, 24, 47, 0.65) 0%,
            rgba(7, 24, 47, 0.18) 48%,
            rgba(7, 24, 47, 0.45) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
}

.video-hero .hero-title {
    margin: 0 0 16px;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.02;
    color: #ffffff;
    font-weight: 900;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.video-hero .hero-description {
    max-width: 650px;
    margin: 0;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
}


/* COMPETITIONS */

.competition-section {
    padding: 80px 0 42px;
    /* background: #ffffff; */
}

.competition-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.competition-card {
    min-height: 320px;
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    /* border: 1px solid #e5e7eb; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.2s ease;
}

.competition-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.competition-card.quiz {
    /* background: linear-gradient(135deg, #fff8db, #ffffff); */
    background: linear-gradient(180deg, #bd2b03, #f7b733);

}

.competition-card.showcase {
    /* background: linear-gradient(135deg, #e8edff, #ffffff); */
    background: linear-gradient(180deg, #0327a7, #147ce4c0);
}

.competition-logo {
    width: auto;
    height: auto;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 22px;
}

.competition-title {
    margin: 0 0 16px;
    font-size: 30px;
    font-weight: 700;
    /* color: #111827; */
    color: white;
    line-height: 1.15;
}

.competition-description {
    margin: 0;
    /* color: #4b5563; */
    /* color: #23272c; */
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
    font-size: 16px;
    font-weight: 600;
    max-width: 460px;
}

.register-btn {
    margin-top: 28px;
    width: fit-content;
    border: none;
    background: #ff590000;
    color: #ffffff;
    border-radius: 999px;
    padding: 11px 20px 11px 12px;
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.2s ease;
    box-shadow: 0 10px 10px rgb(0, 0, 0);
}

.register-btn span {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    /* background: #ffffff; */
    color: white;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    padding-top: 2px;
    padding-left: 5px;
}

.register-btn:hover {
    background: #ff5900;
    color: white;
}

/* AWARDEES */

.awardees-section {
    padding: 46px 0;
    /* background: #f8fafc; */
}

.section-heading {
    text-align: center;
    margin-bottom: 28px;
}

.section-heading span {
    margin: 0 0 8px;
    font-size: clamp(24px, 4vw, 50px);
    font-weight: 900;
    color: white;
    letter-spacing: -0.03em;
}

.section-heading p {
    margin: 10px;
    color: white;
    font-size: 16px;
}

.awardee-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.awardee-content {
    padding: 18px;
    text-align: center;
}

.awardee-content h3 {
    margin: 0 0 6px;
    color: #111827;
    font-size: 18px;
}

.awardee-content p {
    margin: 0;
    color: #6b7280;
    line-height: 1.5;
    font-size: 14px;
}

/* CAROUSEL  */

.awardee-carousel-area {
    display: grid;
    grid-template-columns: 46px 1fr 46px;
    gap: 14px;
    align-items: center;
}

.awardees-section .container {
    width: 85% !important;
}

.awardee-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 40px) / 4);
    gap: 20px;

    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;

    padding: 8px 2px 18px;
}

.awardee-carousel::-webkit-scrollbar {
    display: none;
}

.awardee-slide {
    scroll-snap-align: start;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    /* border: 1px solid #e5e7eb; */
    border: 1px solid #04cdff;
}

.awardee-photo {
    height: auto;
    width: auto;
    background: #eef2f7;
    overflow: hidden;
    object-fit: cover;
}

.awardee-photo img {
    width: auto;
    height: auto;
    object-fit: fill;
}

.awardee-content {
    padding: 18px;
    text-align: center;
}

.awardee-content h3 {
    margin: 0 0 6px;
    color: #111827;
    font-size: 18px;
}

.awardee-content p {
    margin: 0;
    color: #6b7280;
    line-height: 1.5;
    font-size: 14px;
}

.awardee-nav {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: #111827;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);

    font-size: 34px;
    line-height: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.awardee-nav:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.2);
}

.awardee-nav:active {
    transform: scale(0.94);
}

.awardee-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.awardee-dot {
    width: 9px;
    height: 9px;
    border: none;
    border-radius: 999px;
    background: #cbd5e1;
    cursor: pointer;
    padding: 0;
    transition:
        width 0.2s ease,
        background-color 0.2s ease;
}

.awardee-dot.is-active {
    width: 26px;
    background: #2563eb;
}

.awardee-next span {
    padding-top: 2px;
    padding-bottom: 1px;
    padding-left: 5px;
    font-size: 30px;
}

.awardee-prev span {
    padding-top: 2px;
    padding-bottom: 1px;
    padding-left: 2px;
    font-size: 30px;
}

.awardee-next:hover,
.awardee-prev:hover {
    background-color: #2563eb;
    color: white;
}

/* FOOTER */

.site-footer {
    background: #111827;
    color: #d1d5db;
    padding: 42px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: start;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
    width: 160px;
    height: 52px;
    border-radius: 12px;
    color: #001238;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 16px;
}

.footer-logo img {
    width: 120px;
    height: auto;
}

.footer-brand p {
    margin: 0;
    max-width: 520px;
    color: #9ca3af;
    font-size: 15px;
    line-height: 1.7;
    margin-top: 60px;
}

.footer-contact {
    margin-top: 20px;
}

.footer-contact h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 30px;
}

.footer-contact ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 10px;
    color: #9ca3af;
    font-size: 15px;
    line-height: 1.5;
}

.footer-contact span {
    color: #ffffff;
    font-weight: 700;
    margin-right: 6px;
}

.footer-contact a {
    color: #9ca3af;
    transition: 0.2s ease;
}

.footer-contact a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 18px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}

/* FLOATING HELP */

.floating-help {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 62px;
    height: 62px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-help img {
    width: 100%;
    height: 100%;
    display: block;
}

.floating-help:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.34);
}

.floating-help:active {
    transform: scale(0.96);
}

/* TABLET */

@media screen and (max-width: 900px) {
    .competition-grid {
        gap: 18px;
    }

    .competition-card {
        padding: 26px;
    }

    .awardee-grid {
        gap: 16px;
    }

    /* .awardee-photo {
            height: 160px;
        } */

    .awardee-carousel {
        grid-auto-columns: calc((100% - 16px) / 2);
        gap: 16px;
    }

    .awardee-photo {
        height: 170px;
    }
}

/* MOBILE */

@media screen and (max-width: 768px) {
    .container {
        width: min(100% - 24px, 1120px);
    }

    .header-inner {
        min-height: 80px;
    }

    .brand-logo {
        width: 60px;
        height: 60px;
        font-size: 14px;
    }

    .profile-bubble {
        display: none;
    }

    .login-btn {
        min-height: 38px;
        padding: 0 14px;
        font-size: 13px;
    }

    .hero-section.video-hero {
        min-height: 620px;
        padding: 72px 0;
    }

    .hero-overlay {
        background:
            linear-gradient(0deg,
                rgba(7, 24, 47, 0.92) 0%,
                rgba(8, 43, 85, 0.76) 50%,
                rgba(7, 24, 47, 0.52) 100%);
    }

    .hero-content {
        text-align: left;
    }

    .video-hero .hero-title {
        font-size: 38px;
    }

    .video-hero .hero-description {
        font-size: 16px;
    }

    .competition-section {
        padding: 40px 0 34px;
    }

    .competition-grid {
        grid-template-columns: 1fr;
    }

    .competition-card {
        min-height: auto;
        padding: 24px;
        border-radius: 20px;
    }

    .competition-logo {
       width: auto;
       height: auto;
    }

    .register-btn {
        width: 100%;
        justify-content: center;
    }

    .awardees-section {
        padding: 36px 0;
    }

    .awardee-grid {
        grid-template-columns: 1fr;
    }

    .awardees-section .container {
        width: 90% !important;
    }

    /* .awardee-photo {
            height: 180px;
        } */

    .awardee-carousel-area {
        display: block;
    }

    .awardee-carousel {
        grid-auto-columns: 86%;
        gap: 16px;
        /* padding-bottom: 14px; */
    }

    .awardee-nav {
        display: none;
    }

    .awardee-photo {
        height: auto;
        width: auto;
    }

    .floating-help {
        right: 14px;
        bottom: 14px;
        width: 54px;
        height: 54px;
    }

    .site-footer {
        padding: 34px 0 18px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-logo {
        width: 150px;
        height: 48px;
    }

    .footer-brand p,
    .footer-contact li {
        font-size: 14px;
    }

    .footer-bottom {
        text-align: left;
    }
}

/* SMALL MOBILE */

@media screen and (max-width: 420px) {
    .brand-logo {
        width: 60px;
        height: 60px;
        font-size: 14px;
    }

    .login-btn {
        padding: 0 12px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.6;
    }

    .competition-card {
        padding: 40px;
    }

    .competition-logo {
       width: auto;
       height: auto;
    }

    .competition-title {
        font-size: 22px;
    }
}
